package com.shelpe.services.simbasync.service;

import java.util.List;
import java.util.Map;

import com.shelpe.services.simbasync.model.Products;
import com.shelpe.services.simbasync.model.Users;

public interface ProductsService {
	
	public int addItem(Products product);
	
	public int addItems(List<Products> products);
	
	public int insertItemBatch(List<Products> products);
	
	public int deleteItems(List<Products> products);
	
	public int updateItems(List<Products> products);
	
	public int deleteItemById(long numIid);
	
	public Products getItemById(long numIid);
	
	public List<Products> getItemsByUserId(long userId);
	
	public List<Products> parseJsonToProducts(String response);
	
	public void updateProductsData(Users user, List<Products> item);
	
	public Map<String, List<Products> > splitProducts(List<Products> newList, List<Products> oldList);

}